//////////////////////////////////////////////////////////////////////
//
//	Copyright 2010-2011 Rogo's Team. All Rights Reserved
//
//////////////////////////////////////////////////////////////////////
package com.rogo.mvc.sub.proxy
{
	import com.rogo.mvc.interfaces.IProxy;
	import com.rogo.mvc.sub.observer.Notifier;
	
	public class Proxy extends Notifier implements IProxy
	{
		private var _proxyName:String;
		private var _data:Object;
		
		public function Proxy(proxyName:String = null, data:Object = null)
		{
			super();
		    _proxyName = proxyName;
			this.data = data;
		}
		
		public function get proxyName():String
		{
			return _proxyName;
		}
		
		public function set data(data:Object):void
		{
			_data = data;
		}
		
		public function get data():Object
		{
			return _data;
		}
		
		public function onRemove():void
		{
			// override
		}
		
		public function onRegister():void
		{
			// override 
		}
	}
}